package com.chenfan.mcn.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 变更状态-保存DTO
 * @author wulg
 * @date 2022/10/27
 */
@Data
public class IntentionOrderChangeStatusDTO implements Serializable {

    private static final long serialVersionUID = -7191923274022440389L;

    /**
     * ID-数组
     */
    @NotEmpty(message = "请选择单据")
    private List<Long> idList;

    /**
     * 单据状态
     */
    @NotNull(message = "状态不能为空")
    private Integer status;

    /**
     * 确认刊例报价差异：false/true
     */
    private Boolean confirmDiff;
}
